package org.example.work1022.w3;

import org.springframework.stereotype.Component;

@Component
public class Teacher implements Intro {

    @Override
    public String detail() {
        return "我是老师";
    }
}
